package com.example.jiaju.api;

import com.example.jiaju.entity.House;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;
import retrofit2.http.Query;

public interface HouseApi {
    //http://81.70.202.116/jiaju-api/house/list?page=1&limit=2
    @GET("jiaju-api/house/list/")
    Call<House> getAllHouse(@Query("page") Integer page,@Query("limit") Integer limit);
}
